LWS\WOOREWARDS\Ui\Woocommerce\PointsOnCart D

Total Complexity 157
Dependencies 6
Dependents 1
Total lines 824
Lines of code 666
Logical lines of code 345
Comment lines 39
Methods 27
Properties 4

Methods 27

Method Rating Maintainability Complexity Lines of code
getContent()
B
32 17 100
formValidation()
A
44 15 42
getDetailsText()
A
41 10 62
install()
A
45 11 36
ajaxRefresh()
A
49 11 29
getInfo()
A
49 10 30
getPositionClass()
A
52 9 26
shortcode()
A
50 8 27
overrideError()
A
52 8 23
getPlaceholder()
S
52 6 23
getMaxPoints()
S
52 6 22
admin()
S
38 1 86
shortcodeMaxUsable()
S
59 5 14
registerScripts()
S
52 4 22
overrideMessage()
S
59 4 13
getCheckoutHook()
S
62 4 11
filterPools()
S
66 4 9
isOur()
S
69 3 6
__construct()
S
72 3 5
getCartHook()
S
65 3 9
isCouponAppliedOnCart()
S
68 3 7
inCart()
S
66 3 9
inCheckout()
S
66 3 9
getPool()
S
64 3 9
template()
S
54 1 21
adminPro()
S
62 1 11
enqueueScripts()
S
73 1 5